﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserDetail.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.RightConfig.User.UserDetail" %>


<%@ Register src="/SystemManage/Control/CascadeComboxControl.ascx" tagname="CascadeComboxControl" tagprefix="uc1" %>
<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/Basics/RightConfig/User/UserDetail.aspx">

<!-- 需保存的全局变量 -->
<asp:label runat="server" ID="_id" Visible="False" ></asp:label>
    
<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
    	

		<h3 class="contentTitle">基本信息</h3>  
        <dl class="nowrap">
            <dt>角色：</dt>
            <dd><asp:dropdownlist runat="server" id="role" class="combox"></asp:dropdownlist></dd>
        </dl>
         <dl class="nowrap">
            <dt>部门：</dt>
            <dd><asp:dropdownlist runat="server" id="dept" class="combox"></asp:dropdownlist></dd>
        </dl>

        <dl class="nowrap">
            <dt>帐号：</dt>
            <dd><asp:TextBox ID="account" runat="server" Width="120px"></asp:TextBox></dd>
        </dl>
        
        <dl class="nowrap">
            <dt>名称：</dt>
            <dd><asp:TextBox ID="name" Width="120px" runat="server"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>密码：</dt>
            <dd><asp:TextBox ID="password" Width="120px" runat="server"></asp:TextBox></dd>
        </dl>
        
        <dl class="nowrap">
            <dt>地区：</dt>
            <dd>
            
                <uc1:CascadeComboxControl ID="ProvinceCascadeCombox1" runat="server" EmptyText="--省--"
                    Category="Province" DataSourceUrl='/Interface/ajax/CommandService.aspx?key=Pub.LoadAddress&param={"Category":"Province","KeyValuePairString":"{value}"}' 
                    ReferenceCategory="City" Group="addr1"/>
                    
               <uc1:CascadeComboxControl ID="CityCascadeCombox1" runat="server" EmptyText="--市--"
                    Category="City" DataSourceUrl='/Interface/ajax/CommandService.aspx?key=Pub.LoadAddress&param={"Category":"City","KeyValuePairString":"{value}"}' 
                    Group="addr1" ReferenceCategory="Area" />
                    
               <uc1:CascadeComboxControl ID="AreaCascadeCombox1" runat="server" EmptyText="--区--"
                    Category="Area" DataSourceUrl='/Interface/ajax/CommandService.aspx?key=Pub.LoadAddress&param={"Category":"Area","KeyValuePairString":"{value}"}' 
                    Group="addr1" ConditionName="Area"/>
            </dd>
        </dl>
        
        <dl class="nowrap">
            <dt>有效时间：</dt>

            <dd>
            
            <table border="0" cellspacing="0" cellpadding="0">
            	<tr>
            		<td><asp:TextBox ID="validstart" Width="80px" runat="server" class="date"></asp:TextBox> </td>
                    <td>&nbsp;至&nbsp;</td>
                    <td><asp:TextBox ID="validend" Width="80px" runat="server" class="date"></asp:TextBox></td>
            	</tr>
            </table>
            </dd>
        </dl>
        
		<h3 class="contentTitle">其他信息</h3>  
        <dl class="nowrap">
            <dt>QQ：</dt>
            <dd><asp:TextBox ID="qq"  Width="120px" runat="server"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>手机号码：</dt>
            <dd><asp:TextBox ID="phone"  Width="120px" runat="server"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>电子邮件：</dt>
            <dd><asp:TextBox ID="email"  Width="120px" runat="server"></asp:TextBox></dd>
        </dl>
	
	</div>
        
    <div class="formBar">
    <input id="submit_op" name="submit_op" type="hidden" />
	    <ul>
			<li>
	        <div class="buttonActive"><div class="buttonContent"><button onclick="$('#submit_op', navTab.getCurrentPanel()).val('0');" type="submit">保存</button></div></div>
            </li>
			<li>
                
                
		    <div class="button"><div class="buttonContent">
		    <button type="button" onclick="navTab.openTab('UserDetail', '/SystemManage/Basics/RightConfig/User/UserDetail.aspx',{title:'用户明细',data:{tabid:'UserDetail'}});">取消并新增</button></div></div>
			</li>
            <li>
	        <div class="buttonActive"><div class="buttonContent"><button onclick="$('#submit_op', navTab.getCurrentPanel()).val('1');" type="submit">保存并新增</button></div></div>
            </li>
			<li>
		    <div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
			</li>
		</ul>
    </div>
</div>
</form>